﻿using UnityEngine;
using System.Collections;

public class Skill
{
	public int ID;
	public string Name;
	public uint UnlockCoin;
	public string SimpleDescription;
	public string DetailDescription;
	public string IconTexturePath;
	public uint UnlockLevel;
	public SkillEffectType EffectType;

	public float HeroScale()
	{
		if (EffectType == SkillEffectType.HERO_DPS_100)
			return 2;

		return 1;
	}

	public float GlobalScale()
	{
		if (EffectType == SkillEffectType.GLOBAL_DPS_10)
			return 1.1f;
		return 1f;
	}
}
